package com.abc.core.instance.bo;

import lombok.Data;

/**
 * 用于存放Dna对象下属性List<Vd>中每一个vd所对应的属性值
 */
@Data
public class Va {
    private Long id;
    /**
     * Vd中vdCode
     */
    private String code;
    /**
     * Vd.vdName
     */
    private String name;
    /**
     * Vd.dataType
     */
    private String dataType;

    private Object value;

    public String getRawString() {
        return value.toString();
    }

    public Boolean getRawBoolean() {
        return (Boolean) value;
    }

}
